﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Customer_InfoViewer.aspx.cs" Inherits="JKF.Web.Customer.Customer_InfoViewer" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title><%= RegScript("~/js/jquery.1.5.js")%>
    <%=RegScript("~/js/Common.js")%>
    <%=RegScript("~/js/jquery.json.js")%>
    <%=RegScript("~/js/jquery.nhis.js")%>
    <%=RegScript("~/js/jquery.rchis.js")%>
    <%=RegScript("~/js/jquery.validate.js")%>
    <%=RegScript("~/js/DatePicker/WdatePicker.js")%>
    <%=RegStyle("~/js/suggest/jquery.suggest.css")%>
    <%=RegStyle("~/App_Themes/Theme2/Include.css")%>
    <script type="text/javascript">
        var module = "<%=module%>";
        var customerKey = "<%=customerKey%>";
        $(function () {
            $(".tabs").find("li").click(function () {
                $(".tabs").find("li").removeClass("selectTag");
                $(this).addClass("selectTag");
                $("iframe").css("display", "none");
                $("#" + $(this).attr("md")).css("display", "");
            });
        });
    </script>
    <style type="text/css">
        body { height: auto; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <ul class="tabs" id="tags">
                <li class="selectTag" md="customerInfo"><a>顾客信息</a></li>
                <li md="pointexchange"><a>兑换记录</a></li>
                <li md="customerconsume"><a>耗材/配件购买记录</a></li>
                <li md="customercontract"><a>产品购买记录</a></li>
                <li md="customernutrition"><a>增值系列产品购买记录</a></li>
                <li md="smssendlog"><a>接收短信记录</a></li>
                <li md="calllog"><a>通话记录</a></li>
                <li md="pointlog"><a>积分日志</a></li>
                <li md="cardChangelog"><a>换卡记录</a></li>
            </ul>
        </div>
        <div id="tagContent" class="moduleContainer">
            <iframe id="customerInfo" src="Customer_Info.aspx?customerKey=<%=customerKey%>" style="width: 100%; height: 460px; margin: 0px;"
                scrolling="auto" frameborder="0"></iframe>
            <iframe id="pointexchange" src="<%= ResolveUrl("~/Points/Person_Exchange_View.aspx?customerKey=")+customerKey %>" style="width: 100%; height: 460px; margin: 0px; display: none;"
                scrolling="auto" frameborder="0"></iframe>
            <iframe id="personpoint" src="<%= ResolveUrl("~/Point_Log/PersonPointView.aspx?customerKey=")+customerKey %>" style="width: 100%; height: 460px; margin: 0px; display: none;"
                scrolling="auto" frameborder="0"></iframe>
            <iframe id="customerconsume" src="<%= ResolveUrl("~/Sales/Consume/Sales_Consume_Customer.aspx?customerKey=")+customerKey %>" style="width: 100%; height: 460px; margin: 0px; display: none;"
                scrolling="auto" frameborder="0"></iframe>
            <iframe id="customercontract" src="<%= ResolveUrl("~/Sales/Contract/Sales_Contract_Customer.aspx?customerKey=")+customerKey %>" style="width: 100%; height: 460px; margin: 0px; display: none;"
                scrolling="auto" frameborder="0"></iframe>
            <iframe id="customernutrition" src="<%= ResolveUrl("~/Sales/Nutrition/Sales_Nutrition_Customer.aspx?customerKey=")+customerKey %>" style="width: 100%; height: 460px; margin: 0px; display: none;"
                scrolling="auto" frameborder="0"></iframe>
            <iframe id="smssendlog" src="<%= ResolveUrl("~/sms/Sms_Customer_View.aspx?customerKey=")+customerKey %>" style="width: 100%; height: 460px; margin: 0px; display: none;"
                scrolling="auto" frameborder="0"></iframe>
            <iframe id="calllog" src="<%= ResolveUrl("~/SMS/CALL/PersonCallLogView.aspx?customerKey=")+customerKey %>" style="width: 100%; height: 460px; margin: 0px; display: none;"
                scrolling="auto" frameborder="0"></iframe>
            <iframe id="pointlog" src="<%= ResolveUrl("~/Point_Log/PersonPointView.aspx?customerKey=")+customerKey %>" style="width: 100%; height: 460px; margin: 0px; display: none;"
                scrolling="auto" frameborder="0"></iframe>
            <iframe id="cardChangelog" src="<%= ResolveUrl("~/Customer/Swing_Card/SwingCardLogByCustomer.aspx?customerKey=")+customerKey %>" style="width: 100%; height: 460px; margin: 0px; display: none;"
                scrolling="auto" frameborder="0">
            </iframe>
        </div>
    </form>
</body>
</html>
